package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.ChatMessage;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;
import java.util.Set;

public interface IChatMessageService {

    void save(ChatMessage chatMessage);

    List<ChatMessage> selectAllForList(QueryObject qo);

    void updateStatus();

    List<User> selectChatSet(Long userId);

    Integer countForUnreadByUserId(Long userId);
}
